<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="css/topcommon.css" />
    <link rel="stylesheet" href="css/xiaoxi.css" />
    <link rel="stylesheet" href="font_095f3xp7phyw/iconfont.css" />
    <script>
        window.onload = function() {
            /*720代表设计师给的设计稿的宽度，你的设计稿是多少，就写多少;100代表换算比例，这里写100是
                              为了以后好算,比如，你测量的一个宽度是100px,就可以写为1rem,以及1px=0.01rem等等*/
            getRem(750, 100)
        };
        window.onresize = function() {
            getRem(750, 100)
        };

        function getRem(pwidth, prem) {
            var html = document.getElementsByTagName("html")[0];
            var oWidth = document.body.clientWidth || document.documentElement.clientWidth;
            html.style.fontSize = oWidth / pwidth * prem + "px";
        }
    </script>
    <title>消息</title>
</head>

<body>
    <!-- 头部 -->
    <!-- 我想制造一个冲突 -->
    <header>
        <h2>消息中心</h2>
    </header>
    <!-- 导航 -->
    <nav>
        <div>
            <p class="iconfont icon-buoumaotubiao48"></p>
            <p>评论</p>
        </div>
        <div>
            <p class="iconfont icon-zan"></p>
            <p>点赞</p>
        </div>

        <div>
            <p class="iconfont icon-shoucang4-copy"></p>
            <p>收藏</p>
        </div>

        <div>
            <p class="iconfont icon-xinfensishu"></p>
            <p>新粉丝</p>
        </div>


    </nav>
    <!-- 内容 -->
    <section>
        <div class="nei">
            <div class="left"><span class="iconfont icon-tuijian"></span></div>
            <div class="right">
                <p class="top">
                    <span class="zuo">推荐消息</span>
                    <span class="you">昨天</span>
                </p>
                <div>
                    <p class="bott">一年花40万买花？花痴姑娘改造京的好地方</p>
                    <span class="dian">5</span>
                </div>

            </div>

        </div>
        <div class="nei">
            <div class="left"><span class="iconfont icon-gonggaoxiaoxixitongxiaoxi

                "></span></div>
            <div class="right">
                <p class="top">
                    <span class="zuo">系统消息</span>
                    <span class="you"></span>
                </p>
                <div>
                    <p class="bott">暂无消息</p>
                    <!-- <span class="dian"></span> -->
                </div>

            </div>

        </div>
    </section>

</body>

</html>